package org.jin.samples.service;

import java.util.List;

import org.jin.samples.model.ExamSubject;
import org.jin.samples.model.ExamUser;
import org.jin.samples.model.vo.ExamSubjectVO;
import org.jin.samples.model.vo.ExamUserVO;

public interface ISubjectService {
	public List<ExamSubject> findAllSubject();
	
	public ExamSubject getSubjectById(int sub_id);
	
	public ExamSubjectVO findSubjectById(Integer id);
	
	public void addSubject(ExamSubjectVO examSubjectVO);
	
	public void Updata(ExamSubjectVO examSubjectVO);
	
	public boolean deleteSubject(Integer subId);
	
	public void UpdataStatus(ExamSubjectVO examSubjectVO);
	
	public List<String> getAllUserBuSubjectId(Integer subId)throws Exception;
	
	public List<ExamUserVO> findAllStudent();
	
	public void saveSubjectStudent(List<String> subjectStudents, Integer subjectId)throws Exception;
	
}
